<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>author_add</title>
</head>
<body>

<form action="" method="post" enctype="multipart/form-data">
    {% csrf_token %}
    作者姓名:<input type="text" name="name">
    <br>
    出生年月: <input type="date" name="birthday">
    <br>
    选择头像:<input type="file" name="icon">
    <br>
    作者简介: <textarea name="introduce" id="introduce" cols="30" rows="10"></textarea>
    <br>
    联系方式:<input type="text" name="phone">
    <br>
    邮箱: <input type="email" name="email">

    <br>
    <input type="submit" value="提交">
</form>

</body>
</html>